package com.example.kaogong.sys.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @description: 帖子评论前端视图对象
 * @author: 徐文升
 * @create: 2022-04-17 23:03
 **/

@Data
@EqualsAndHashCode
@ApiModel(value = "PostCommentVo", description = "帖子评论前端视图对象")
public class PostCommentVo {
    @ApiModelProperty(value = "评论编号")
    private Integer cid;

    @ApiModelProperty(value = "评论用户名")
    private String username;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "用户姓名", notes = "指明对哪个用户进行回复")
    private String targetUser;

    @ApiModelProperty(value = "发表时间")
    private LocalDateTime postTime;

    @ApiModelProperty(value = "点赞数")
    private Integer like;

    @ApiModelProperty(value = "回复数")
    private Integer count;
}
